home *** CD-ROM | disk | FTP | other *** search
- ########
- # log4j configuration file.
- ########
-
- #########
- # Valid thresholds can be:
- # OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL
-
- #
- # The default logger that is used prints out log statements
- # on the console. If you want those redirected to a file,
- # enable TextFile logger. If you want those stored in an xml
- # format (either for chainsaw or for inclusing in xml documents)
- # use the XMLFile logger. If you want to use chainsaw to watch
- # the logs of a running application use the "socket" logger
-
- ########
-
- # Set the root loggers
- log4j.rootLogger=OFF, stdout, TextFile, XMLFile,socket
-
-
- ######
- # The TextFile logger
- # if you want to enable logging to file in standard format:
- # 1. comment out the first line
- # 2. uncomment/edit the other lines
- # to disable this type of logging do the oppposite.
-
- log4j.appender.TextFile=org.apache.log4j.varia.NullAppender
- #log4j.appender.TextFile=org.apache.log4j.RollingFileAppender
- #log4j.appender.TextFile.File=log.txt
- #log4j.appender.TextFile.MaxFileSize=50MB
- #log4j.appender.TextFile.MaxBackupIndex=5
- #log4j.appender.TextFile.layout=org.apache.log4j.PatternLayout
- #log4j.appender.TextFile.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M - %m%n
- #log4j.appender.TextFile.ImmediateFlush=true
- ########
-
-
- ######
- # The XMLFile logger
- # if you want to enable logging to XML file for the chainsaw viwer:
- # 1. comment out the first line
- # 2. uncomment/edit the other lines
- # to disable this type of logging do the oppposite.
-
- log4j.appender.XMLFile=org.apache.log4j.varia.NullAppender
- #log4j.appender.XMLFile=org.apache.log4j.RollingFileAppender
- #log4j.appender.XMLFile.File=log.xml
- #log4j.appender.XMLFile.MaxFileSize=100MB
- #log4j.appender.XMLFile.MaxBackupIndex=5
- #log4j.appender.XMLFile.layout=org.apache.log4j.xml.XMLLayout
- #log4j.appender.XMLFile.layout.LocationInfo=true
- #log4j.appender.XMLFile.ImmediateFlush=false
- #####
-
-
-
- #########
- # The "socket" logger
- # If you want to use the Chainsaw viewer on a running program:
- # 1. comment out the first line
- # 2. uncomment/edit the other lines
- # to disable this type of logging do the oppposite.
- # Make sure the viewer is running before starting limewire!
-
- log4j.appender.socket=org.apache.log4j.varia.NullAppender
- #log4j.appender.socket=org.apache.log4j.net.SocketAppender
- #log4j.appender.socket.RemoteHost=localhost
- #log4j.appender.socket.port=4445
- #log4j.appender.socket.LocationInfo=true
- #########
-
- # stdout is set to be ConsoleAppender sending its output to System.out
- log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-
- # stdout uses PatternLayout.
- log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-
- # The conversion pattern is:
- # time elapsed since start of logging (left justified, pads extra spaces if less than 0)
- # logging priority (left justified, pads extra spaces if less than 5)
- # [thread name]
- # packagename.classname.methodname (only the last part of the package is kept)
- # - message
- # newline
-
- log4j.appender.stdout.layout.ConversionPattern=%-6r %-5p [%t] %c{2}.%M[%L] - %m%n
-
-
- ### To set the value for specific classes/packages, use the following format:
- ## log4j.logger.<package.class>=LEVEL
- # log4j.logger.com.limegroup.gnutella.gui=INFO
- # would turn logging for the GUI to the INFO level
- #
- # log4j.logger.com.limegroup.gnutella.uploader=INFO
- # would turn logging for the uploader package to the INFO level
- #
- # log4j.logger.com.limegroup.gnutella.gui.GUIMediator=INFO
- # would turn logging for the GUIMediator class to the INFO level
- #
- # log4j.logger.httpclient.wire=ALL
- # will log all information read/written from/to the network using HttpClient
-
- #log4j.logger.com.limegroup.gnutella.search.SearchResultHandler.level=DEBUG
- #log4j.logger.com.limegroup.gnutella.messages.vendor.HeadPong=All
- #log4j.logger.com.limegroup.gnutella.Connection=ALL
- #log4j.logger.com.limegroup.gnutella.gui=DEBUG
- #log4j.logger.com.limegroup.gnutella.gui.iTunesMediator=DEBUG
- #log4j.logger.com.limegroup.gnutella.bugs=ALL
- #log4j.logger.com.limegroup.gnutella.ConnectionManager=ALL
- #log4j.logger.com.limegroup.gnutella.ManagedConnection=ALL
- #log4j.logger.com.limegroup.gnutella.ConnectionWatchdog=ALL
- #log4j.logger.com.limegroup.gnutella.connection.ConnectionChecker=ALL
- #log4j.logger.com.limegroup.gnutella.BrowseHostHandler=ALL
- #log4j.logger.com.limegroup.gnutella.bootstrap=ALL
- #log4j.logger.com.limegroup.gnutella.HostCatcher=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.VerifyingFile=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.HTTPDownloader=ALL
- #log4j.logger.com.limegroup.gnutella.downloader=ALL
- #log4j.logger.com.limegroup.gnutella.UploadManager=ALL
- #log4j.logger.com.limegroup.gnutella.uploader.HTTPUploader=ALL
- #log4j.logger.com.limegroup.gnutella.dime=ALL
- #log4j.logger.com.limegroup.gnutella.tigertree=ALL
- #log4j.logger.com.limegroup.gnutella.tigertree.HashTree=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.VerifyingFile=ALL
- #log4j.logger.com.limegroup.gnutella.SavedFileManager=ALL
- #log4j.logger.com.limegroup.gnutella.RouterService=ALL
- #log4j.logger.com.limegroup.gnutella.gui.Initializer=ALL
- #log4j.logger.com.limegroup.gnutella.gui.mp3=ALL
- #log4j.logger.com.limegroup.gnutella.search=ALL
- #log4j.logger.com.limegroup.gnutella.downloader=ALL
- #log4j.logger.com.limegroup.gnutella.udpconnect=ALL
- #log4j.logger.com.limegroup.gnutella.Acceptor=ALL
- #log4j.logger.com.limegroup.gnutella.DownloadManager=ALL
- #log4j.logger.com.limegroup.gnutella.UDPService=ALL
- #log4j.logger.com.limegroup.gnutella.UDPPinger=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.PingRanker=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.ManagedDownloader=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.DownloadWorker=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.DownloadTest=ALL
- #log4j.logger.com.limegroup.gnutella.downloader.TestUploader=ALL
- #log4j.logger.com.limegroup.gnutella.simpp=ALL
- #log4j.logger.com.limegroup.gnutella.settings=ALL
- #log4j.logger.com.limegroup.gnutella.Acceptor=ALL
- #log4j.logger.com.limegroup.gnutella.metadata=ALL
- #log4j.logger.com.limegroup.gnutella.UDPService=ALL
- #log4j.logger.com.limegroup.gnutella.xml=ALL
- #log4j.logger.com.limegroup.gnutella.UPnPManager=ALL
- #log4j.logger.com.limegroup.gnutella.UDPService=ALL
- #log4j.logger.com.limegroup.gnutella.xml=ALL
- #log4j.logger.com.limegroup.gnutella.io.NIOSocket=ALL
- #log4j.logger.com.limegroup.gnutella.io.NBThrottle=ALL
- #log4j.logger.com.limegroup.gnutella.io=INFO
- #log4j.logger.com.limegroup.gnutella.connection=ALL
- #log4j.logger.com.limegroup.gnutella.io.NIOServerSocket=ALL
- #log4j.logger.com.limegroup.gnutella.FileManager=ALL
- #log4j.logger.com.limegroup.gnutella.xml.MetaFileManager=ALL
- #log4j.logger.com.limegroup.gnutella.SavedFileManager=ALL
- #log4j.logger.com.limegroup.gnutella.UrnCache=ALL
- #log4j.logger.com.limegroup.gnutella.gui.library.LibraryTree=ALL
- #log4j.logger.com.limegroup.gnutella.gui.library.LibraryTableMediator=ALL
- #log4j.logger.com.limegroup.gnutella.version=ALL
- #log4j.logger.com.limegroup.gnutella.downloader=ALL
- #log4j.logger.com.limegroup.gnutella.DownloadManager=ALL
-
-
-